package blog.open1111.service;

import blog.open1111.entity.Manager;

/**
 * Created by dengwubo on 2017/9/7.
 */
public interface ManagerService {

    /**
     * 通过用户名查找用户实体
     * @param userName
     * @return
     */
    public Manager getByUserName(String userName);

    /**
     * 更新管理员信息
     * @param manager
     * @return
     */
    public Integer update(Manager manager);
}
